<%@ taglib prefix="fm" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: Root404
  Date: 2023/10/26
  Time: 13:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>
        .red{
            color: red;
            font-size: 33px;
        }
    </style>
</head>
<body>
增加 303
    <fm:form  modelAttribute="entry" method="post" action="${pageContext.request.contextPath}/byadd">
        <fm:errors cssClass="red" path="categoryId"></fm:errors>
        <fm:input path="categoryId"/>
        <fm:errors cssClass="red" path="title"></fm:errors>
        <fm:input path="title"/>
        <input type="submit" value="提交">
    </fm:form>

</body>
</html>
